package com.bohua.child.service;

import com.bohua.child.common.Lay;
import com.bohua.child.common.Msg;
import com.bohua.child.entity.Teacher;

/**
 * 教师表服务接口
 * @author shichenyang
 * @email gyv12345@163.com
 * @date 2019/01/17
 */
public interface TeacherService {
     /**
      * 添加教师表
      * @param teacher 教师表实体
      * @return
      */
     Msg addTeacher(Teacher teacher);

     /**
      * 修改教师表
      * @param teacher 教师表实体
      * @return
      */
     Msg updateTeacher(Teacher teacher);

     /**
      * 删除教师表
      * @param teacher 教师表实体
      * @return
      */
     Msg delTeacher(Teacher teacher);

     /**
      * 获取教师表
      * @param teacher 教师表实体
      * @param page 当前页数
      * @param limit 显示条数
      * @return
      */
     Lay getTeachers(Teacher teacher,Integer page,Integer limit);
}
